<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/scrip.js"></script>
<title>Đăng ký</title>
</head>
<body>
	<div class="master-wrapper-content">
		<jsp:include page="heading.jsp"></jsp:include>
		<jsp:include page="listCategory.jsp"></jsp:include>
		<div class="container-right">
			<%
				String err = request.getParameter("err");
				if (err == null)
					err = "";
				else {
			%>
			<h3 style="color: red;">Đăng ký không thành công!!</h3>
			<%
				}
			%>
			<table
				style="margin-left: 120px; margin-top: 40px; border: #F59740; border-style: solid; border-width: 2px;">
				<tr>
					<td><h2 style="margin: 40px; color: forestgreen;">
							Đăng ký thành viên vào hệ thống
							</h2>
					</td>
				</tr>
				<tr style="margin: 20px;">
					<td>
						<form method="post" action="register">
							<table>
								<tr>
									<td>Tên đăng nhập :</td>
									<td><input type="text" name="username" />
									</td>
								</tr>
								<tr>
									<td>Mật khẩu :</td>
									<td><input type="password" name="password" />
									</td>
								</tr>
								<tr>
									<td>Email :</td>
									<td><input type="text" name="email" />
									</td>
								</tr>
								<tr>
									<td>Ngày sinh:</td>
									<td><input type="text" name="birthday" />
									</td>
								</tr>

								<tr>

									<td><input type="submit" value="Đăng ký" />
									</td>
									<td><input type="reset" />
									</td>
								</tr>
							</table>
						</form></td>
				</tr>
			</table>
		</div>
		<div class="clear"></div>
	</div>
</body>
</html>